﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace hospital_registration_system.Entity
{
    /// <summary>
    /// 就诊时段实体类
    /// </summary>
    public class Clinic_time
    {
        public enum SeeTime { T1,T2}//T1代表时段1，T2代表时段2
        private int id;//id号
        private int doctor_id;//医生id
        private int see_time;//就诊时间段
        private DateTime treatment;//就诊日期
        private string CREATED_BY;//创建人
        private DateTime CREATED_TIME;//创建时间
        private string UPDATED_BY;//更新人
        private DateTime UPDATED_TIME;//更新时间
        private int state;//状态

        public Clinic_time(int id, int doctor_id, int see_time, DateTime treatment, string cREATED_BY, DateTime cREATED_TIME, string uPDATED_BY, DateTime uPDATED_TIME, int state)
        {
            this.id = id;
            this.doctor_id = doctor_id;
            this.see_time = see_time;
            this.treatment = treatment;
            CREATED_BY = cREATED_BY;
            CREATED_TIME = cREATED_TIME;
            UPDATED_BY = uPDATED_BY;
            UPDATED_TIME = uPDATED_TIME;
            this.state = state;
        }

        public Clinic_time()
        {
        }

        public override string ToString()
        {
            return base.ToString();
        }
        public int Id { get => id; set => id = value; }
        public int Doctor_id { get => doctor_id; set => doctor_id = value; }
        public int See_time { get => see_time; set => see_time = value; }
        public DateTime Treatment { get => treatment; set => treatment = value; }
        public string CREATED_BY1 { get => CREATED_BY; set => CREATED_BY = value; }
        public DateTime CREATED_TIME1 { get => CREATED_TIME; set => CREATED_TIME = value; }
        public string UPDATED_BY1 { get => UPDATED_BY; set => UPDATED_BY = value; }
        public DateTime UPDATED_TIME1 { get => UPDATED_TIME; set => UPDATED_TIME = value; }
        public int State { get => state; set => state = value; }
    }
}
